package com.service;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.BindingType;
import javax.xml.ws.soap.SOAPBinding;

@BindingType(SOAPBinding.SOAP11HTTP_BINDING)
@WebService(targetNamespace="http://tempuri.org/")
public interface WeatherServiceInter {

    @WebMethod
    public String getWeatherByCityname(String name,String code);


    @WebMethod

    public String GetSchema(String schemaCode);

    @WebMethod
    public String GetSchemaList();

    @WebMethod
    public String GetList(String userId,
                         String schemaCode,
                          String filter);

    @WebMethod
    public String Invoke( String userCode,
                          String schemaCode,
                          String methodName,
                          String param);

    /*
    @WebService(serviceName="HelloService",   portName="HelloServicePort",   targetNamespace="http://jaxws.zzz/jaxws/hello")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,use=SOAPBinding.Use.LITERAL,  parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    public class HelloService {
        @WebMethod
        public String sayHello(String s){
            System.out.println("hello,"+s);
            return s;
        }
    */
}